import qs from 'qs'

export default $axios => ({
    getAccountList(){
        return $axios.get('/server/cmder/user',{})
    },
    updateAccount(user_id,nick_name,dormitory,phone,password){
        return $axios.put('/server/cmder/update',{
            user_id,
            nick_name,
            dormitory,
            phone,
            password
        })
    },
})
